home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 1999 August / SGI Freeware 1999 August.iso / dist / fw_xemacs.idb / usr / freeware / lib / xemacs-20.4 / lisp / prim / package-admin.elc.z / package-admin.elc
Emacs Compiled Lisp  |  1998-05-21  |  1.9 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text


This file was processed as: Emacs Compiled Lisp (other/emacsCompiledLisp).
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
1% dexvert Emacs Compiled Lisp (other/emacsCompiledLisp) magic Unsupported
100% file Emacs/XEmacs v20 byte-compiled Lisp data default
99% file data default
100% TrID Emacs/XEmacs byte-compiled Lisp (generic) default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 3b 45 4c 43 14 00 00 00 | 0a 3b 3b 3b 20 63 6f 6d |;ELC....|.;;; com|
|00000010| 70 69 6c 65 64 20 62 79 | 20 6a 75 73 74 69 6e 62 |piled by| justinb|
|00000020| 40 65 62 6f 6e 79 2e 63 | 72 61 79 2e 63 6f 6d 20 |@ebony.c|ray.com |
|00000030| 6f 6e 20 4d 6f 6e 20 4d | 61 72 20 20 39 20 31 32 |on Mon M|ar 9 12|
|00000040| 3a 35 34 3a 30 33 20 31 | 39 39 38 0a 3b 3b 3b 20 |:54:03 1|998.;;; |
|00000050| 66 72 6f 6d 20 66 69 6c | 65 20 2f 68 6f 6d 65 2f |from fil|e /home/|
|00000060| 61 73 70 65 6e 30 37 2f | 6a 75 73 74 69 6e 62 2f |aspen07/|justinb/|
|00000070| 72 6f 6f 74 73 2f 66 72 | 65 65 77 61 72 65 2f 78 |roots/fr|eeware/x|
|00000080| 65 6d 61 63 73 2f 32 30 | 2e 33 2f 78 65 6d 61 63 |emacs/20|.3/xemac|
|00000090| 73 2d 32 30 2e 33 2f 6c | 69 73 70 2f 70 72 69 6d |s-20.3/l|isp/prim|
|000000a0| 2f 70 61 63 6b 61 67 65 | 2d 61 64 6d 69 6e 2e 65 |/package|-admin.e|
|000000b0| 6c 0a 3b 3b 3b 20 65 6d | 61 63 73 20 76 65 72 73 |l.;;; em|acs vers|
|000000c0| 69 6f 6e 20 32 30 2e 34 | 20 22 45 6d 65 72 61 6c |ion 20.4| "Emeral|
|000000d0| 64 22 20 58 45 6d 61 63 | 73 20 20 4c 75 63 69 64 |d" XEmac|s Lucid|
|000000e0| 2e 0a 3b 3b 3b 20 62 79 | 74 65 63 6f 6d 70 20 76 |..;;; by|tecomp v|
|000000f0| 65 72 73 69 6f 6e 20 32 | 2e 32 35 20 58 45 6d 61 |ersion 2|.25 XEma|
|00000100| 63 73 3b 20 32 32 2d 4d | 61 72 2d 39 36 2e 0a 3b |cs; 22-M|ar-96..;|
|00000110| 3b 3b 20 6f 70 74 69 6d | 69 7a 61 74 69 6f 6e 20 |;; optim|ization |
|00000120| 69 73 20 6f 6e 2e 0a 3b | 3b 3b 20 74 68 69 73 20 |is on..;|;; this |
|00000130| 66 69 6c 65 20 75 73 65 | 73 20 6f 70 63 6f 64 65 |file use|s opcode|
|00000140| 73 20 77 68 69 63 68 20 | 64 6f 20 6e 6f 74 20 65 |s which |do not e|
|00000150| 78 69 73 74 20 69 6e 20 | 45 6d 61 63 73 20 31 39 |xist in |Emacs 19|
|00000160| 2e 0a 0a 28 69 66 20 28 | 61 6e 64 20 28 62 6f 75 |...(if (|and (bou|
|00000170| 6e 64 70 20 27 65 6d 61 | 63 73 2d 76 65 72 73 69 |ndp 'ema|cs-versi|
|00000180| 6f 6e 29 0a 09 20 28 6f | 72 20 28 61 6e 64 20 28 |on).. (o|r (and (|
|00000190| 62 6f 75 6e 64 70 20 27 | 65 70 6f 63 68 3a 3a 76 |boundp '|epoch::v|
|000001a0| 65 72 73 69 6f 6e 29 20 | 65 70 6f 63 68 3a 3a 76 |ersion) |epoch::v|
|000001b0| 65 72 73 69 6f 6e 29 0a | 09 20 20 20 20 20 28 73 |ersion).|. (s|
|000001c0| 74 72 69 6e 67 2d 6c 65 | 73 73 70 20 65 6d 61 63 |tring-le|ssp emac|
|000001d0| 73 2d 76 65 72 73 69 6f | 6e 20 22 32 30 22 29 29 |s-versio|n "20"))|
|000001e0| 29 0a 20 20 20 20 28 65 | 72 72 6f 72 20 22 60 70 |). (e|rror "`p|
|000001f0| 61 63 6b 61 67 65 2d 61 | 64 6d 69 6e 2e 65 6c 27 |ackage-a|dmin.el'|
|00000200| 20 77 61 73 20 63 6f 6d | 70 69 6c 65 64 20 66 6f | was com|piled fo|
|00000210| 72 20 45 6d 61 63 73 20 | 32 30 22 29 29 0a 0a 28 |r Emacs |20"))..(|
|00000220| 6f 72 20 28 62 6f 75 6e | 64 70 20 27 63 75 72 72 |or (boun|dp 'curr|
|00000230| 65 6e 74 2d 6c 6f 61 64 | 2d 6c 69 73 74 29 20 28 |ent-load|-list) (|
|00000240| 73 65 74 71 20 63 75 72 | 72 65 6e 74 2d 6c 6f 61 |setq cur|rent-loa|
|00000250| 64 2d 6c 69 73 74 20 6e | 69 6c 29 29 0a 0a 0a 28 |d-list n|il))...(|
|00000260| 72 65 71 75 69 72 65 20 | 27 63 6f 6e 66 69 67 29 |require |'config)|
|00000270| 0a 23 40 33 35 20 4c 6f | 63 61 74 69 6f 6e 20 6f |.#@35 Lo|cation o|
|00000280| 66 20 58 45 6d 61 63 73 | 20 62 69 6e 61 72 79 20 |f XEmacs| binary |
|00000290| 74 6f 20 75 73 65 2e 1f | 0a 28 64 65 66 76 61 72 |to use..|.(defvar|
|000002a0| 20 70 61 63 6b 61 67 65 | 2d 61 64 6d 69 6e 2d 78 | package|-admin-x|
|000002b0| 65 6d 61 63 73 20 28 62 | 79 74 65 2d 63 6f 64 65 |emacs (b|yte-code|
|000002c0| 20 22 c0 c1 21 c2 50 87 | 22 20 5b 63 6f 6e 66 69 | "..!.P.|" [confi|
|000002d0| 67 2d 76 61 6c 75 65 20 | 74 6f 70 5f 73 72 63 64 |g-value |top_srcd|
|000002e0| 69 72 20 22 2f 73 72 63 | 2f 78 65 6d 61 63 73 22 |ir "/src|/xemacs"|
|000002f0| 5d 20 32 29 20 28 23 24 | 20 2e 20 36 33 30 29 29 |] 2) (#$| . 630))|
|00000300| 0a 23 40 36 31 20 54 65 | 6d 70 6f 72 61 72 79 20 |.#@61 Te|mporary |
|00000310| 62 75 66 66 65 72 20 77 | 68 65 72 65 20 6f 75 74 |buffer w|here out|
|00000320| 70 75 74 20 6f 66 20 62 | 61 63 6b 65 6e 64 20 63 |put of b|ackend c|
|00000330| 6f 6d 6d 61 6e 64 73 20 | 69 73 20 73 61 76 65 64 |ommands |is saved|
|00000340| 2e 1f 0a 28 64 65 66 76 | 61 72 20 70 61 63 6b 61 |...(defv|ar packa|
|00000350| 67 65 2d 61 64 6d 69 6e | 2d 74 65 6d 70 2d 62 75 |ge-admin|-temp-bu|
|00000360| 66 66 65 72 20 22 2a 50 | 61 63 6b 61 67 65 20 4f |ffer "*P|ackage O|
|00000370| 75 74 70 75 74 2a 22 20 | 28 23 24 20 2e 20 37 37 |utput*" |(#$ . 77|
|00000380| 34 29 29 0a 23 40 32 36 | 39 20 49 6e 73 74 61 6c |4)).#@26|9 Instal|
|00000390| 6c 20 61 20 73 69 6e 67 | 6c 65 20 66 69 6c 65 20 |l a sing|le file |
|000003a0| 4c 69 73 70 20 70 61 63 | 6b 61 67 65 20 69 6e 74 |Lisp pac|kage int|
|000003b0| 6f 20 58 45 6d 61 63 73 | 20 70 61 63 6b 61 67 65 |o XEmacs| package|
|000003c0| 20 68 69 65 72 61 72 63 | 68 79 2e 0a 60 66 69 6c | hierarc|hy..`fil|
|000003d0| 65 27 20 73 68 6f 75 6c | 64 20 62 65 20 74 68 65 |e' shoul|d be the|
|000003e0| 20 66 75 6c 6c 20 70 61 | 74 68 20 74 6f 20 74 68 | full pa|th to th|
|000003f0| 65 20 6c 69 73 70 20 66 | 69 6c 65 20 74 6f 20 69 |e lisp f|ile to i|
|00000400| 6e 73 74 61 6c 6c 2e 0a | 60 64 65 73 74 64 69 72 |nstall..|`destdir|
|00000410| 27 20 73 68 6f 75 6c 64 | 20 62 65 20 61 20 73 69 |' should| be a si|
|00000420| 6d 70 6c 65 20 64 69 72 | 65 63 74 6f 72 79 20 6e |mple dir|ectory n|
|00000430| 61 6d 65 2e 0a 54 68 65 | 20 6f 70 74 69 6f 6e 61 |ame..The| optiona|
|00000440| 6c 20 60 70 6b 67 2d 64 | 69 72 27 20 63 61 6e 20 |l `pkg-d|ir' can |
|00000450| 62 65 20 75 73 65 64 20 | 74 6f 20 6f 76 65 72 72 |be used |to overr|
|00000460| 69 64 65 20 74 68 65 20 | 64 65 66 61 75 6c 74 20 |ide the |default |
|00000470| 70 61 63 6b 61 67 65 20 | 68 69 65 61 72 63 68 79 |package |hiearchy|
|00000480| 0a 28 6c 61 73 74 20 70 | 61 63 6b 61 67 65 2d 70 |.(last p|ackage-p|
|00000490| 61 74 68 29 2e 1f 0a 28 | 64 65 66 61 6c 69 61 73 |ath)...(|defalias|
|000004a0| 20 27 70 61 63 6b 61 67 | 65 2d 61 64 6d 69 6e 2d | 'packag|e-admin-|
|000004b0| 61 64 64 2d 73 69 6e 67 | 6c 65 2d 66 69 6c 65 2d |add-sing|le-file-|
|000004c0| 70 61 63 6b 61 67 65 20 | 23 5b 28 66 69 6c 65 20 |package |#[(file |
|000004d0| 64 65 73 74 64 69 72 20 | 26 6f 70 74 69 6f 6e 61 |destdir |&optiona|
|000004e0| 6c 20 70 6b 67 2d 64 69 | 72 29 20 22 08 ac 84 09 |l pkg-di|r) "....|
|000004f0| 41 40 10 08 c2 0b 51 c4 | 0d 21 1e 06 1e 07 c8 c9 |A@....Q.|.!......|
|00000500| ca 0e 06 cb 0e 0c 0e 0d | 0e 07 26 07 2a 87 22 20 |........|..&.*." |
|00000510| 5b 70 6b 67 2d 64 69 72 | 20 70 61 63 6b 61 67 65 |[pkg-dir| package|
|00000520| 2d 70 61 74 68 20 22 2f | 6c 69 73 70 2f 22 20 64 |-path "/|lisp/" d|
|00000530| 65 73 74 64 69 72 20 67 | 65 74 2d 62 75 66 66 65 |estdir g|et-buffe|
|00000540| 72 2d 63 72 65 61 74 65 | 20 70 61 63 6b 61 67 65 |r-create| package|
|00000550| 2d 61 64 6d 69 6e 2d 74 | 65 6d 70 2d 62 75 66 66 |-admin-t|emp-buff|
|00000560| 65 72 20 62 75 66 20 64 | 65 73 74 69 6e 61 74 69 |er buf d|estinati|
|00000570| 6f 6e 20 63 61 6c 6c 2d | 70 72 6f 63 65 73 73 20 |on call-|process |
|00000580| 22 61 64 64 2d 6c 69 74 | 74 6c 65 2d 70 61 63 6b |"add-lit|tle-pack|
|00000590| 61 67 65 2e 73 68 22 20 | 6e 69 6c 20 74 20 70 61 |age.sh" |nil t pa|
|000005a0| 63 6b 61 67 65 2d 61 64 | 6d 69 6e 2d 78 65 6d 61 |ckage-ad|min-xema|
|000005b0| 63 73 20 66 69 6c 65 5d | 20 38 20 28 23 24 20 2e |cs file]| 8 (#$ .|
|000005c0| 20 39 30 36 29 20 22 66 | 4c 69 73 70 20 46 69 6c | 906) "f|Lisp Fil|
|000005d0| 65 3a 20 5c 6e 73 44 65 | 73 74 69 6e 61 74 69 6f |e: \nsDe|stinatio|
|000005e0| 6e 3a 20 22 5d 29 0a 23 | 40 36 37 20 49 6e 73 74 |n: "]).#|@67 Inst|
|000005f0| 61 6c 6c 20 61 20 70 72 | 65 2d 62 79 74 65 63 6f |all a pr|e-byteco|
|00000600| 6d 70 69 6c 65 64 20 58 | 45 6d 61 63 73 20 70 61 |mpiled X|Emacs pa|
|00000610| 63 6b 61 67 65 20 69 6e | 74 6f 20 70 61 63 6b 61 |ckage in|to packa|
|00000620| 67 65 20 68 69 65 72 61 | 72 63 68 79 2e 1f 0a 28 |ge hiera|rchy...(|
|00000630| 64 65 66 61 6c 69 61 73 | 20 27 70 61 63 6b 61 67 |defalias| 'packag|
|00000640| 65 2d 61 64 6d 69 6e 2d | 61 64 64 2d 62 69 6e 61 |e-admin-|add-bina|
|00000650| 72 79 2d 70 61 63 6b 61 | 67 65 20 23 5b 28 66 69 |ry-packa|ge #[(fi|
|00000660| 6c 65 20 26 6f 70 74 69 | 6f 6e 61 6c 20 70 6b 67 |le &opti|onal pkg|
|00000670| 2d 64 69 72 29 20 22 08 | ac 90 09 3c ab 83 09 ac |-dir) ".|...<....|
|00000680| 84 c2 c3 21 88 c4 09 21 | 40 10 c5 0e 06 21 1e 07 |...!...!|@....!..|
|00000690| c8 c9 ca 0e 07 cb 0e 0c | 0e 0d 08 26 07 29 87 22 |........|...&.)."|
|000006a0| 20 5b 70 6b 67 2d 64 69 | 72 20 70 61 63 6b 61 67 | [pkg-di|r packag|
|000006b0| 65 2d 70 61 74 68 20 65 | 72 72 6f 72 20 22 4e 6f |e-path e|rror "No|
|000006c0| 20 70 61 63 6b 61 67 65 | 20 70 61 74 68 22 20 6c | package| path" l|
|000006d0| 61 73 74 20 67 65 74 2d | 62 75 66 66 65 72 2d 63 |ast get-|buffer-c|
|000006e0| 72 65 61 74 65 20 70 61 | 63 6b 61 67 65 2d 61 64 |reate pa|ckage-ad|
|000006f0| 6d 69 6e 2d 74 65 6d 70 | 2d 62 75 66 66 65 72 20 |min-temp|-buffer |
|00000700| 62 75 66 20 63 61 6c 6c | 2d 70 72 6f 63 65 73 73 |buf call|-process|
|00000710| 20 22 61 64 64 2d 62 69 | 67 2d 70 61 63 6b 61 67 | "add-bi|g-packag|
|00000720| 65 2e 73 68 22 20 6e 69 | 6c 20 74 20 70 61 63 6b |e.sh" ni|l t pack|
|00000730| 61 67 65 2d 61 64 6d 69 | 6e 2d 78 65 6d 61 63 73 |age-admi|n-xemacs|
|00000740| 20 66 69 6c 65 5d 20 38 | 20 28 23 24 20 2e 20 31 | file] 8| (#$ . 1|
|00000750| 35 31 36 29 20 22 66 50 | 61 63 6b 61 67 65 20 74 |516) "fP|ackage t|
|00000760| 61 72 62 61 6c 6c 3a 20 | 22 5d 29 0a 28 70 72 6f |arball: |"]).(pro|
|00000770| 76 69 64 65 20 27 70 61 | 63 6b 61 67 65 2d 61 64 |vide 'pa|ckage-ad|
|00000780| 6d 69 6e 29 0a | |min). | |
+--------+-------------------------+-------------------------+--------+--------+